package com.glory.dgcpcpda.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * FileName: UpdateIPEntity
 * Author: XJH
 * Date: 2020/7/22 9:18
 * Description:
 * History:
 */
public class UpdateIPEntity implements Serializable {
    private String EQPID;
    private String PROCESSNAME;
    private String EQPTYPE;
    private String POSITION;
    private String IP;
    private String Port;
    private String FAB;//工厂
    private String PROGRAM_TYPE;
    private String MARKPATH;
    private String STATE;
    private ArrayList<AdrefList> ADREFLIST;
    private List<String> List;

    public String getSTATE() {
        return STATE == null ? "" : STATE;
    }

    public void setSTATE(String STATE) {
        this.STATE = STATE;
    }

    public String getMARKPATH() {
        return MARKPATH == null ? "" : MARKPATH;
    }

    public void setMARKPATH(String MARKPATH) {
        this.MARKPATH = MARKPATH;
    }

    public String getPROGRAM_TYPE() {
        return PROGRAM_TYPE == null ? "" : PROGRAM_TYPE;
    }

    public void setPROGRAM_TYPE(String PROGRAM_TYPE) {
        this.PROGRAM_TYPE = PROGRAM_TYPE;
    }

    public String getFAB() {
        return FAB == null ? "" : FAB;
    }

    public void setFAB(String FAB) {
        this.FAB = FAB;
    }

    public String getPort() {
        return Port == null ? "" : Port;
    }

    public void setPort(String port) {
        Port = port;
    }

    public String getEQPID() {
        return EQPID == null ? "" : EQPID;
    }

    public void setEQPID(String EQPID) {
        this.EQPID = EQPID;
    }

    public String getPROCESSNAME() {
        return PROCESSNAME == null ? "" : PROCESSNAME;
    }

    public void setPROCESSNAME(String PROCESSNAME) {
        this.PROCESSNAME = PROCESSNAME;
    }

    public String getEQPTYPE() {
        return EQPTYPE == null ? "" : EQPTYPE;
    }

    public void setEQPTYPE(String EQPTYPE) {
        this.EQPTYPE = EQPTYPE;
    }

    public String getPOSITION() {
        return POSITION == null ? "" : POSITION;
    }

    public void setPOSITION(String POSITION) {
        this.POSITION = POSITION;
    }

    public String getIP() {
        return IP == null ? "" : IP;
    }

    public void setIP(String IP) {
        this.IP = IP;
    }

    public ArrayList<AdrefList> getADREFLIST() {
        if (ADREFLIST == null) {
            return new ArrayList<>();
        }
        return ADREFLIST;
    }

    public void setADREFLIST(ArrayList<AdrefList> ADREFLIST) {
        this.ADREFLIST = ADREFLIST;
    }

    public List<String> getList() {
        if (List == null) {
            return new ArrayList<>();
        }
        return List;
    }

    public void setList(ArrayList<String> List) {
        this.List = List;
    }

    public class AdrefList {
        private String KEY;
        private String TEXT;

        public String getKEY() {
            return KEY == null ? "" : KEY;
        }

        public void setKEY(String KEY) {
            this.KEY = KEY;
        }

        public String getTEXT() {
            return TEXT == null ? "" : TEXT;
        }

        public void setTEXT(String TEXT) {
            this.TEXT = TEXT;
        }
    }
}
